
import React from 'react'
interface State {}
interface Props{}
export default class DangerousInnerHTML extends React.Component<Props,State> {
  render() {
    const rawHtml = {
      __html: '<span>富文本<i>斜体</i><b>加粗</b></span>'
    }
    return (
        <div dangerouslySetInnerHTML={rawHtml}></div> 
    )
  }
}
 
